package com.zy.facepp.constant;

/**
 * API的参数KEY
 *
 * @author zhanghengchang
 * @date 2018/3/9
 */
public class FaceppConstant {
    public final static String KEY_FOR_APIKEY = "api_key";
    public final static String KEY_FOR_APISECRET = "api_secret";
    public final static String KEY_FOR_IMAGE_URL = "image_url";
    public final static String KEY_FOR_IMAGE_FILE = "image_file";
    public final static String KEY_FOR_IMAGE_BASE64 = "image_base64";
    public final static String KEY_FOR_FACE_TOKEN = "face_token";
    public final static String KEY_FOR_FACESET_TOKEN = "faceset_token";
    public final static String KEY_FOR_OUTER_ID = "outer_id";
    public final static String KEY_FOR_RETURN_RESULT_COUNT = "return_result_count";
    public final static String KEY_FOR_DISPLAY_NAME = "display_name";
    public final static String KEY_FOR_TAGS = "tags";
    public final static String KEY_FOR_FACE_TOKENS = "face_tokens";
    public final static String KEY_FOR_USER_DATA = "user_data";
    public final static String KEY_FOR_FORCE_MERGE = "force_merge";
    public final static String KEY_FOR_CHECK_EMPTY = "check_empty";
    public final static String KEY_FOR_NEW_OUTER_ID = "new_outer_id";
    public final static String KEY_FOR_RETURN_LANDMARK = "return_landmark";
    public final static String KEY_FOR_RETURN_ATTRIBUTES = "return_attributes";
    public final static String KEY_FOR_USER_ID = "user_id";
    public final static String KEY_FOR_FACE_TOKEN1 = "face_token1";
    public final static String KEY_FOR_IMAGE_URL1 = "image_url1";
    public final static String KEY_FOR_IMAGE_FILE1 = "image_file1";
    public final static String KEY_FOR_FACE_TOKEN2 = "face_token2";
    public final static String KEY_FOR_IMAGE_URL2 = "image_url2";
    public final static String KEY_FOR_IMAGE_FILE2 = "image_file2";
    public final static String KEY_FOR_IMAGE_BASE64_1 = "image_base64_1";
    public final static String KEY_FOR_IMAGE_BASE64_2 = "image_base64_2";
    public final static String KEY_FOR_LEGALITY = "legality";
    public final static String KEY_FOR_FILE = "file";
    public final static String KEY_FOR_CONFIDENCE = "confidence";
    public final static String KEY_FOR_THRESHOLDS = "thresholds";
    public final static String KEY_FOR_THRESHOLD_1E3 = "1e-3";
    public final static String KEY_FOR_THRESHOLD_1E4 = "1e-4";
    public final static String KEY_FOR_THRESHOLD_1E5 = "1e-5";

    public final static String CONST_LEGALITY_Y = "1";

    public final static String CONST_TYPE_IDCARD = "1";
    public final static String CONST_TYPE_DRIVER_LICENSE = "2";
    public final static String CONST_TYPE_VEHICLE_LICENSE = "3";
    public final static String CONST_TYPE_BANK_CARD = "4";
    public final static String CONST_TYPE_COMPARE = "5";

    public final static String CONST_REQUEST_ID = "request_id";

    public final static String CONST_RESULT_SUCCESS = "success";
    public final static String CONST_RESULT_ERROR_MESSAGE = "error_message";
    public final static String CONST_COMPARE_SAME_PERSON = "same_person";
    public final static String CONST_COMPARE_SAME_PERSON_Y = "Y";
    public final static String CONST_COMPARE_SAME_PERSON_N = "N";
    public final static String CONST_COMPARE_SAME_PERSON_U = "U";

    public final static String CONST_CONTENT_CARD = "cards";
    public final static String CONST_CONTENT_BANK_CARD = "bank_cards";

}
